package org.yuanqiframework.yuanqi.boot.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.yuanqiframework.yuanqi.boot.sys.entity.SysDict;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author cbt28
 * @description 针对表【sys_dict(系统字典父表)】的数据库操作Mapper
 * @createDate 2025-08-17 12:45:31
 * @Entity org.yuanqiframework.yuanqi.boot.sys.entity.SysDict
 */
public interface SysDictMapper extends BaseMapper<SysDict> {
    @Select("select id from sys_dict where code = #{code}")
    Long queryIdByCode(@Param("code") String code);
}




